﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

namespace Liebrand.UrlShortener
{
    public sealed class UrlShortenerFarmFeatureReceiver : SPFeatureReceiver
    {
        #region Overrides

        public override void FeatureActivated(SPFeatureReceiverProperties properties)
        {
            FarmHelper.Activate();
        }

        public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
        {
            FarmHelper.Deactivate();
        }

        public override void FeatureInstalled(SPFeatureReceiverProperties properties)
        {
        }

        public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
        {
        }
        #endregion
    }
}
